package wells.concurrency.escape;

public class EventSource {
	private EventListener eventListener;

	public void registerListener(EventListener eventListener) {
		this.eventListener = eventListener;
	}

	public void triggerEvent() {
		Event e = new Event();
		this.eventListener.onEvent(e);
	};

}
